<!--劳动能力鉴定现场申请 -->
<template>
    <el-main>
        <el-main class="ep-body">

            <epl-top-bar :datas="{formData:form,panel: panel}" showPerson personType="PERSON_ALL_EXACT"
                         psTagType="PERSON_INJURY_QUERY">
                <ep-saveButton id="doSave" type="primary" ref="save" @formValidate="formValidate"
                               :validate="['form']" :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>

            </epl-top-bar>
            <epl-userMessage dataType="person" idCount="5" :panel="panel">

            </epl-userMessage>

            <el-card class="ep-card">

                <el-form :model="form" ref="form" :rules="rules">
                    <ep-title>请输入单位信息</ep-title>


                    <el-row :gutter="10">
                        <ep-input colspan="16" label="单位id" name="aab001" :property="form.aab001"
                                  p="H"></ep-input>
                        <ep-input colspan="8" label="统一社会信用代码" name="bab010" :property="form.bab010"
                                  placeholder="请输入统一社会信用代码"
                                  p="E" :datas="{formData: form}" isChange></ep-input>
                        <ep-input colspan="16" label="单位名称" name="aab069" :property="form.aab069" placeholder="请输入单位名称"
                                  p="R"></ep-input>
                    </el-row>
                    <el-row :gutter="10">

                        <ep-input colspan="8" label="联系人" name="aae004" :property="form.aae004" placeholder="请输入联系人"
                                  p="E"></ep-input>

                        <ep-input colspan="8" label="法人代表" name="aab013" :property="form.aab013" placeholder="请输入法人代表"
                                  p="E"></ep-input>
                        <ep-input colspan="8" label="联系电话" name="aae005" :property="form.aae005" placeholder="请输入联系电话"
                                  p="E"></ep-input>
                    </el-row>
                    <el-row :gutter="10">

                        <ep-input colspan="8" label="手机号码" name="aac067" rules="this.$rules.mobile"
                                  :property="form.aac067" placeholder="请输入手机号码"
                                  p="E"></ep-input>
                        <ep-select colspan="8" label="参保状态" name="aab051" :property="form.aab051" placeholder="请选择参保状态"
                                   p="E" codetype="AAB051"></ep-select>
                        <ep-input colspan="8" label="邮编" name="aae007" :property="form.aae007" placeholder="请输入邮编"
                                  p="E" rules="this.$rules.postcode"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="通讯地址" name="bae011" :property="form.bae011"
                                   placeholder="请选择省" codetype="BAE007" p="R" :datas="{formData:form}" isChange
                                   isCodeType></ep-select>
                        <ep-select colspan="4" label="" label-width="0" name="bae012" :property="form.bae012"
                                   placeholder="请选择市" codetype="BAE008" p="R" :datas="{formData: form}" isChange
                                   isCodeType
                                   SelectFilterData=" aaa102 like substr(':bae011',0,2)||'%' and aaa102 like '%00' "></ep-select>
                        <ep-select colspan="4" label="" label-width="0" name="bae013" :property="form.bae013"
                                   placeholder="请选择区县" codetype="BAE009" p="R" :datas="{formData: form}"
                                   SelectFilterData=" aaa102 like substr(':bae012',0,4)||'%'"></ep-select>
                        <ep-input colspan="8" label="" label-width="0" name="aae006" :property="form.aae006"
                                  placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                    </el-row>

                    <ep-title>请输入申请主体信息</ep-title>


                    <el-row :gutter="10">
                        <ep-select colspan="8" label="申请主体" name="alc009" :property="form.alc009" placeholder="请选择申请主体"
                                   isChange
                                   p="R" :datas="{formData: form}" codetype="ALC009"></ep-select>
                        <ep-input colspan="8" label="申请人姓名" name="aac042" :property="form.aac042" placeholder="请输入申请人姓名"
                                  p="R"></ep-input>
                        <ep-input colspan="8" label="申请人联系电话" name="alc049" :property="form.alc049"
                                  placeholder="请输入申请人联系电话"
                                  p="R" rules="this.$rules.mobile"></ep-input>
                    </el-row>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="申请人证件类型" name="aac043" :property="form.aac043"
                                   placeholder="请选择申请人证件类型"
                                   p="R" codetype="AAC058"></ep-select>
                        <ep-input colspan="8" label="申请人证件号码" name="aac044" :property="form.aac044"
                                  placeholder="请输入申请人证件号码"
                                  p="R" isChange :datas="{formData: form}" rules="this.$rules.isIDCard"></ep-input>
                        <ep-date colspan="8" label="申请日期" name="aae127" :property="form.aae127" placeholder="请输入申请日期"
                                 p="H" format="yyyyMMdd" value-format="yyyyMMdd"></ep-date>
                    </el-row>

                    <el-row :gutter="10">
                        <ep-input colspan="8" label="申报号" name="bae506" :property="form.bae506"
                                  p="H"></ep-input>
                    </el-row>

                    <ep-title>请输入劳动能力鉴定申请信息</ep-title>

                    <!--因工信息-->
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="鉴定事项" name="bae508" :property="form.bae508" codetype="BAE508"
                                   isChange placeholder="请选择鉴定事项"
                                   p="D" :datas="{formData: form}"></ep-select>
                        <ep-select colspan="8" label="鉴定类别" name="ala019" :property="form.ala019" codetype="ALA019"
                                   isChange placeholder="请选择鉴定类别"
                                   p="R" :datas="{formData: form}"></ep-select>
                        <ep-input colspan="8" label="工伤认定书编号" name="alc011" :property="form.alc011"
                                  placeholder="请输入工伤认定书编号"
                                  p="D" :datas="{formData: form}" isChange></ep-input>
                    </el-row>

                    <el-row :gutter="10">

                        <ep-date colspan="8" label="伤病日期" name="alc020" :property="form.alc020" placeholder="请输入伤病日期"
                                 format="yyyy-MM-dd" value-format="yyyyMMdd"
                                 p="D" :datas="{formData: form}"></ep-date>
                        <ep-select colspan="16" label="受伤部位和受伤情况" name="alc022" :property="form.alc022"
                                   placeholder="请选择受伤部位和受伤情况" multiple
                                   p="D" codetype="ALC022"></ep-select>
                        <ep-input label="工伤认id" name="aaz127" :property="form.aaz127"
                                  p="H"></ep-input>
                    </el-row>
                    <!--供养亲属-->
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="工亡职工姓名" name="aac003" :property="form.aac003"
                                  placeholder="请输入工亡职工姓名" p="H"></ep-input>
                        <ep-input colspan="8" label="身份证号" name="aac002" :property="form.aac002"
                                  placeholder="请输入身份证号" p="H"></ep-input>
                        <ep-date colspan="8" label="死亡日期（失踪日期）" name="alc040" :property="form.alc040"
                                 placeholder="请输入死亡日期（失踪日期）" p="H" format="yyyyMMdd" value-format="yyyyMMdd"></ep-date>
                    </el-row>

                    <el-row :gutter="10">
                        <ep-select colspan="8" label="与工亡职工关系" name="aae144" :property="form.aae144"
                                   placeholder="请输入工亡职工姓名"
                                   p="H" codetype="AAE144"></ep-select>
                        <ep-input label="工亡职工编号" name="bac500" :property="form.bac500"
                                  p="H"></ep-input>
                    </el-row>

                    <el-row :gutter="10">
                        <ep-textarea colspan="24" label="医院疾病诊断" name="blc546" :property="form.blc546"
                                     placeholder="请输入医院疾病诊断" p="H"
                        ></ep-textarea>
                    </el-row>

                    <el-row :gutter="10">
                        <ep-textarea colspan="24" label="目前丧失劳动能力情况" name="blc511" :property="form.blc511"
                                     placeholder="请输入目前丧失劳动能力情况" p="H"
                        ></ep-textarea>
                    </el-row>

                    <!--辅助器具-->
                    <el-row :gutter="10">
                        <ep-select colspan="16" label="申请配置项目" name="alc056" :property="form.alc056"
                                   placeholder="请选择申请配置项目"
                                   p="H" codetype="ALC056"></ep-select>
                    </el-row>
                    <!--老工伤护理依赖等级-->
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="是否退休" name="aac084" :property="form.aac084" placeholder="请选择是否退休"
                                   p="H" codetype="AAC084"></ep-select>
                        <ep-select colspan="8" label="工伤部位" name="blc510" :property="form.blc510" laceholder="请选择工伤部位"
                                   p="H" codetype="ALC022"></ep-select>
                        <ep-select colspan="8" label="工伤等级" name="blc529" :property="form.blc529" placeholder="请选择工伤等级"
                                   p="H" codetype="BLC529"></ep-select>
                    </el-row>
                    <!--非因工信息-->
                    <el-row :gutter="10">
                        <ep-date colspan="8" label="参加工作时间" name="aac007" :property="form.aac007"
                                 placeholder="请输入参加工作时间"
                                 p="H" format="yyyyMMdd" value-format="yyyyMMdd"></ep-date>
                        <ep-select colspan="8" label="伤病名称" name="blc548" :property="form.blc548" placeholder="请选择伤病名称"
                                   p="H" codetype="ALC022"></ep-select>

                    </el-row>

                    <el-row :gutter="10">
                        <ep-textarea colspan="24" label="病情概述及治疗经过" name="blc547" :property="form.blc547"
                                     placeholder="请输入病情概述及治疗经过"
                                     p="H"></ep-textarea>
                    </el-row>
                    <!--复查或者再次鉴定信息-->
                    <el-row :gutter="10">
                        <ep-input colspan="8" label="鉴定结论书编号" name="alc045" :property="form.alc045"
                                  placeholder="请输入鉴定结论书编号"
                                  p="H" :datas="{formData: form}" isChange></ep-input>
                        <ep-date colspan="8" label="鉴定时间" name="alc034" :property="form.alc034" placeholder="请输入鉴定时间"
                                 isChange
                                 p="H" :datas="{formData: form}" format="yyyyMMdd" value-format="yyyyMMdd"></ep-date>
                        <ep-date colspan="8" label="送达时间" name="bae544" :property="form.bae544" placeholder="请输入送达时间"
                                 isChange
                                 p="H" :datas="{formData: form}" format="yyyyMMdd" value-format="yyyyMMdd"></ep-date>
                        <ep-input label="上次劳动能力鉴定ID" name="aaz151" :property="form.aaz151"
                                  p="H"></ep-input>
                    </el-row>

                    <el-row :gutter="10">
                        <ep-select colspan="8" label="伤残等级" name="ala040" :property="form.ala040" placeholder="请选择伤残等级"
                                   p="H" codetype="ALA040"></ep-select>
                        <ep-select colspan="8" label="护理依赖" name="alc060" :property="form.alc060" placeholder="请选择护理依赖"
                                   p="H" codetype="ALC060"></ep-select>
                    </el-row>
                </el-form>
            </el-card>
        </el-main>

    </el-main>

</template>

<script src="../js/AppraisalApplyJS.js"></script>
